Optimal. Leaf size=62 \[ \frac {b c \sqrt {1-c^2 x^2}}{6 x^2}-\frac {a+b \text {ArcCos}(c x)}{3 x^3}+\frac {1}{6} b c^3 \tanh ^{-1}\left (\sqrt {1-c^2 x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {4724, 272, 44,
65, 214} \begin {gather*} -\frac {a+b \text {ArcCos}(c x)}{3 x^3}+\frac {b c \sqrt {1-c^2 x^2}}{6 x^2}+\frac {1}{6} b c^3 \tanh ^{-1}\left (\sqrt {1-c^2 x^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 65
Rule 214
Rule 272
Rule 4724
Rubi steps
\begin {align*} \int \frac {a+b \cos ^{-1}(c x)}{x^4} \, dx &=-\frac {a+b \cos ^{-1}(c x)}{3 x^3}-\frac {1}{3} (b c) \int \frac {1}{x^3 \sqrt {1-c^2 x^2}} \, dx\\ &=-\frac {a+b \cos ^{-1}(c x)}{3 x^3}-\frac {1}{6} (b c) \text {Subst}\left (\int \frac {1}{x^2 \sqrt {1-c^2 x}} \, dx,x,x^2\right )\\ &=\frac {b c \sqrt {1-c^2 x^2}}{6 x^2}-\frac {a+b \cos ^{-1}(c x)}{3 x^3}-\frac {1}{12} \left (b c^3\right ) \text {Subst}\left (\int \frac {1}{x \sqrt {1-c^2 x}} \, dx,x,x^2\right )\\ &=\frac {b c \sqrt {1-c^2 x^2}}{6 x^2}-\frac {a+b \cos ^{-1}(c x)}{3 x^3}+\frac {1}{6} (b c) \text {Subst}\left (\int \frac {1}{\frac {1}{c^2}-\frac {x^2}{c^2}} \, dx,x,\sqrt {1-c^2 x^2}\right )\\ &=\frac {b c \sqrt {1-c^2 x^2}}{6 x^2}-\frac {a+b \cos ^{-1}(c x)}{3 x^3}+\frac {1}{6} b c^3 \tanh ^{-1}\left (\sqrt {1-c^2 x^2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 79, normalized size = 1.27 \begin {gather*} -\frac {a}{3 x^3}+\frac {b c \sqrt {1-c^2 x^2}}{6 x^2}-\frac {b \text {ArcCos}(c x)}{3 x^3}-\frac {1}{6} b c^3 \log (x)+\frac {1}{6} b c^3 \log \left (1+\sqrt {1-c^2 x^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 65, normalized size = 1.05
method | result | size |
derivativedivides | \(c^{3} \left (-\frac {a}{3 c^{3} x^{3}}+b \left (-\frac {\arccos \left (c x \right )}{3 c^{3} x^{3}}+\frac {\sqrt {-c^{2} x^{2}+1}}{6 c^{2} x^{2}}+\frac {\arctanh \left (\frac {1}{\sqrt {-c^{2} x^{2}+1}}\right )}{6}\right )\right )\) | \(65\) |
default | \(c^{3} \left (-\frac {a}{3 c^{3} x^{3}}+b \left (-\frac {\arccos \left (c x \right )}{3 c^{3} x^{3}}+\frac {\sqrt {-c^{2} x^{2}+1}}{6 c^{2} x^{2}}+\frac {\arctanh \left (\frac {1}{\sqrt {-c^{2} x^{2}+1}}\right )}{6}\right )\right )\) | \(65\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 69, normalized size = 1.11 \begin {gather*} \frac {1}{6} \, {\left ({\left (c^{2} \log \left (\frac {2 \, \sqrt {-c^{2} x^{2} + 1}}{{\left | x \right |}} + \frac {2}{{\left | x \right |}}\right ) + \frac {\sqrt {-c^{2} x^{2} + 1}}{x^{2}}\right )} c - \frac {2 \, \arccos \left (c x\right )}{x^{3}}\right )} b - \frac {a}{3 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 121 vs.
\(2 (52) = 104\).
time = 1.90, size = 121, normalized size = 1.95 \begin {gather*} \frac {b c^{3} x^{3} \log \left (\sqrt {-c^{2} x^{2} + 1} + 1\right ) - b c^{3} x^{3} \log \left (\sqrt {-c^{2} x^{2} + 1} - 1\right ) - 4 \, b x^{3} \arctan \left (\frac {\sqrt {-c^{2} x^{2} + 1} c x}{c^{2} x^{2} - 1}\right ) + 2 \, \sqrt {-c^{2} x^{2} + 1} b c x + 4 \, {\left (b x^{3} - b\right )} \arccos \left (c x\right ) - 4 \, a}{12 \, x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.79, size = 119, normalized size = 1.92 \begin {gather*} - \frac {a}{3 x^{3}} - \frac {b c \left (\begin {cases} - \frac {c^{2} \operatorname {acosh}{\left (\frac {1}{c x} \right )}}{2} + \frac {c}{2 x \sqrt {-1 + \frac {1}{c^{2} x^{2}}}} - \frac {1}{2 c x^{3} \sqrt {-1 + \frac {1}{c^{2} x^{2}}}} & \text {for}\: \frac {1}{\left |{c^{2} x^{2}}\right |} > 1 \\\frac {i c^{2} \operatorname {asin}{\left (\frac {1}{c x} \right )}}{2} - \frac {i c \sqrt {1 - \frac {1}{c^{2} x^{2}}}}{2 x} & \text {otherwise} \end {cases}\right )}{3} - \frac {b \operatorname {acos}{\left (c x \right )}}{3 x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 1634 vs.
\(2 (52) = 104\).
time = 0.72, size = 1634, normalized size = 26.35 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {a+b\,\mathrm {acos}\left (c\,x\right )}{x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________